package org.dream.ui.chart;

import java.util.List;

import org.dream.domain.Daydeal;

/**
 * 形状工厂
 * 
 * @author qiuriyuchen E-mail:panpan_001@126.com
 */
public class PlotFactory {

	/** 转折点线 */
	public static TurnOverTurnnPointLine createTurnningPointLine(
			List<Daydeal> daydealList, Chart chart) {
		return new TurnOverTurnnPointLine(daydealList,chart,1);
	}

	/** 成交量线 */
	public static TurnOverAveLine createTurnOverLine(List<Daydeal> daydealList,
			Chart chart, double minY, double maxY) {
		return new TurnOverAveLine(daydealList,chart, minY, maxY,1);
	}

}
